package cn.stu.framework.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;


/**
 * 会议
 *
 * @author 郑志豪
 * @date 2023/09/19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Conf对象", description="")
public class Conf implements Serializable {
    /**
     * 串行版UID
     *///配置信息
    private static final long serialVersionUID = 1L;

    /**
     * 会议ID
     */
    @TableId(value = "conf_id", type = IdType.AUTO)
    private Long confId;

    /**
     * 签到时间
     */
    private Date signInTime;

    /**
     * 注销时间
     */
    private Date signOutTime;

    /**
     * 会议经度
     */
    private String confLongitude;

    /**
     * 会议维度
     */
    private String confDimension;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 创建ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新ID
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateId;

    /**
     * 距离
     */
    private int distance;



}
